package com.hanliy.dao;

import com.hanliy.pojo.AdminPermissionEntity;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import javax.annotation.security.PermitAll;

/**
 * @author hanyulin
 * @apiNote
 * @date 2021/11/9 17:59
 */
@Repository
public interface AdminPermissionMapper {
    /**
     * 通过管理员id查询对应的权限
     *
     * @param adminId 管理员id
     * @return com.hanliy.pojo.AdminPermissionEntity
     * @author hanyulin
     * @date 2021/11/9 22:38
     */
    AdminPermissionEntity queryPermissionByAdminId(@Param("adminId") Integer adminId);

}
